package com.codef.sharp.common.database.enums;

import com.codef.sharp.common.core.enums.BaseEnum;

/**
 * 状态枚举
 * @author zhanrf
 * @date 2022/2/14 14:22
 */
public enum StatusEnum implements BaseEnum {
    /**
     * 启用
     */
    ENABLE(1),

    /**
     * 禁用
     */
    DISABLE(0);

    private final Integer value;

    StatusEnum(Integer value) {
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
